package com.etc.hotel.service.imp;

import com.etc.hotel.bean.User;
import com.etc.hotel.dao.UserMapper;
import com.etc.hotel.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User doLogin(String account) {
        return userMapper.doLogin(account);
    }
}
